#include "gamepage.h"
#include "mymedia.h"
#include "aboutpage.h"
#include "helppage.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    //初始化单例对象
    GamePage::getObject();
    MyMedia::getObject();
    AboutPage::getObject();
    HelpPage::getObject();
    //播放背景音乐
    MyMedia::getObject()->play();
    //显示游戏界面
    GamePage::getObject()->show();
    return a.exec();
}
